{% extends 'oratk_app/master.html' %}
{% block title %}
    <meta http-equiv="refresh" content="30">
{% endblock %}
{% block tag_left %}
    {% include 'oratk_app/tag_left_user.html' %}
{% endblock %}
{% block userinfo %}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h2 class="page-header">计划任务-短信发送情况</h2>
        <table class="table table-striped table-bordered table-hover">
            <thead>
            <tr>
                <th style="display: none">id</th>
                <th>任务名称</th>
                <th>短信联系人</th>
                <th>短信内容</th>
                <th>发送状态</th>
                <th>返回码</th>
                <th>返回信息</th>
                <th>插入时间</th>
            </tr>
            </thead>
            <tbody id="tab">
            {% for i in current_page %}
                <tr>
                <td style="display: none">{{ i.id }}</td>
                <td>{{ i.task_name }}</td>
                <td>{{ i.sms_conent }}</td>
                <td>{{ i.sms_contact }}</td>
                <td>{{ i.sms_status }}</td>
                <td>{{ i.sms_code }}</td>
                <td>{{ i.sms_text }}</td>
                <td>{{ i.crtime |date:'Y-m-d H:i:s'}}</td>
            {% endfor %}
            </tbody>
        </table>
        {# 分页#}
        {% include 'basic_app/paginator.html' %}
    </div>
{% endblock  %}

